#ifndef __Bullet_H__ 
#define __Bullet_H__ 

#include "cocos2d.h" 
#include "Entity.h"
USING_NS_CC; 


class Bullet : public Entity{
public:
	Bullet();
	~Bullet();

	CREATE_FUNC(Bullet);
	bool init();

	static Bullet* createWithNum(int type, int powerLevel, float rotation, Vec2 position);
	bool initWithNum(int type, int powerLevel, float rotation, Vec2 position);
	bool setTagPosition(float x, float y);
	void setIsPlayer(bool b);
	bool getIsPlayer();

	bool isPlayer;
	bool isArrive();
	void boom();
private:
}; 


#endif // __Bullet_H__ 
